package edu.whut.mall.mapper;

import edu.whut.mall.model.GroupBuyRule;
import edu.whut.mall.model.GroupBuyRuleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GroupBuyRuleMapper {
    long countByExample(GroupBuyRuleExample example);

    int deleteByExample(GroupBuyRuleExample example);

    int deleteByPrimaryKey(Long id);

    int insert(GroupBuyRule record);

    int insertSelective(GroupBuyRule record);

    List<GroupBuyRule> selectByExample(GroupBuyRuleExample example);

    GroupBuyRule selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") GroupBuyRule record, @Param("example") GroupBuyRuleExample example);

    int updateByExample(@Param("record") GroupBuyRule record, @Param("example") GroupBuyRuleExample example);

    int updateByPrimaryKeySelective(GroupBuyRule record);

    int updateByPrimaryKey(GroupBuyRule record);
}